//
//  LXDialRulerScrollView.h
//  ibgs_patients
//
//  Created by xiao.zhao@lachesis-mh.com on 15/12/29.
//  Copyright © 2015年 xiao.zhao@lachesis-mh.com. All rights reserved.
//

#import <UIKit/UIKit.h>

#define DISTANCELEFTANDRIGHT 8.f // 标尺左右距离
#define DISTANCEVALUE 8.f // 每隔刻度实际长度8个点
#define DISTANCETOPANDBOTTOM 0.f // 标尺上下距离

@interface LXDialRulerScrollView : UIScrollView

@property (nonatomic) NSUInteger rulerMin;

@property (nonatomic) NSUInteger rulerMax;

@property (nonatomic) NSNumber * rulerAverage;

@property (nonatomic) NSUInteger rulerHeight;

@property (nonatomic) NSUInteger rulerWidth;

@property (nonatomic) CGFloat rulerValue;

@property (nonatomic) BOOL mode;

- (void)drawRuler;

@end
